package cn.ruleengine.compute.listener;

/**
 * @author zhouchuang
 * @date 2025-05-08 17:56:05
 */
import org.springframework.context.ApplicationEvent;

public class RuleEvent extends ApplicationEvent {
    // 定义消息内容（可自定义数据结构）
    private final Object message;

    public RuleEvent(Object source, Object message) {
        super(source);
        this.message = message;
    }

    public Object getMessage() {
        return message;
    }
}